home *** CD-ROM | disk | FTP | other *** search
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 1997-99 Pandemic Studios
- //
- // Dark Reign II
- //
-
- CreateObjectType("objective_shuttle_leaving", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("AND")
- {
- Condition("Timer")
- {
- Time(5);
- }
- Condition("TagCount")
- {
- Tag("Shuttle")
- {
- Amount(0);
- Operator(">");
- }
- }
- Condition("TagCount")
- {
- Tag("AllTraitors")
- {
- Amount(0);
- Operator(">");
- }
- }
- Condition("VarConstInteger", "@.shuttleleaving", "==", 1);
- }
- Action()
- {
- GameMessage()
- {
- Message("msg_shuttle_leaving");
- }
- NewObjective("objective_shuttle_gone");
- }
- }
- }
-
- CreateObjectType("objective_shuttle_gone", "Objective")
- {
- GameObj();
- ObjectiveObj()
- {
- Condition("AND")
- {
- Condition("Timer")
- {
- Time(40);
- }
- Condition("TagCount")
- {
- Tag("Shuttle")
- {
- Amount(0);
- Operator(">");
- }
- }
- }
-
- Action()
- {
- ObjectiveAbandoned("objective_destroy_shuttle");
- NewObjective("cineractive_shuttle_gone");
- }
- }
- }
-
-